package com.sunny.study.api.service;

import com.qiniu.common.QiniuException;

/**
 * @ClassName: FileService
 * @Description:
 * @Author: sunt
 * @Date: 2020/5/20 13:56
 * @Version 1.0
 **/
public interface FileService {


    /**
     * 上传文件到七牛云
     * @param uploadBytes
     * @return 访问url
     * @throws QiniuException
     */
    String upload(byte[] uploadBytes) throws QiniuException;
}
